package com.situ.crm.service;

import com.situ.crm.util.Result;
import com.situ.crm.pojo.entity.Role;

public interface IRoleService {
	public static  final  double PI = 3.14;

	public abstract Result selectByPage(Integer page, Integer limit, Role role);

	boolean deleteById(Integer id);

	boolean deleteAll(String ids);

	boolean add(Role role, String permissions);

	Role selectByPrimaryKey(Integer roleId);

	Result selectRoleAndPermisssions(Integer roleId);

	boolean update(Role role, Integer[] permissions);

	Result selectAllRoles();

}
